package com.aloaproject.ciquta;

public class Car {
	
	private String model;
	private Integer doors;
    private Maker maker;

    public Car(){
    }

    public Car(String model, Maker maker, Integer doors) {
        this.model = model;
        this.doors = doors;
        this.maker = maker;
    }
    
	public String getModel() {
		return model;
	}
    
	public void setModel(String model) {
		this.model = model;
	}
	
	public void setDoors(Integer doors) {
		this.doors = doors;
	}
	
	public Integer getDoors() {
		return doors;
	}

    public Maker getMaker() {
        return maker;
    }

    public void setMaker(Maker maker) {
        this.maker = maker;
    }

    public String toString(){
        return getMaker() + " " + model;
    }
    
}
